//
//  JCObjectSerializerContext.h
//  JCSDK
//
//  Created by master on 16/2/23.
//  Copyright © 2016年 AdMaster. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JCObjectSerializerContext : NSObject

- (instancetype)initWithRootObject:(id)rootObject;

- (BOOL)hasUnvisitedObjects;

- (void)pushUnvisitedObject:(NSObject *)object;
- (NSObject *)popUnvisitedObject;


- (void)addVisitedObject:(NSObject *)object;
- (BOOL)isVisitedObject:(NSObject *)object;

- (void)addSerializedObject:(NSDictionary *)serializedObject;
- (NSArray *)allSerializedObjects;

@end
